package characters;

public class Iori extends Fighter {
    public Iori(int x, int y) {
        super(x, y);
        this.walkSpeed = 3;
        this.attackDamage = 13;
        this.name="八神庵";
    }

    @Override
    protected void loadAnimations() {
        // 加载所有动作GIF
        animation.addAnimation("IDLE", "/characters/iori/idle.gif", true, 0);
        animation.addAnimation("WALK", "/characters/iori/walk.gif", true, 0);
        animation.addAnimation("JUMP", "/characters/iori/idle.gif", false, 1000);
        animation.addAnimation("ATTACK", "/characters/iori/attack-v9.gif", false, 800);
        animation.addAnimation("BLOCK", "/characters/iori/block2.gif", true, 10000);
        animation.addAnimation("HIT", "/characters/iori/hit.gif", false, 500);
        animation.addAnimation("KO", "/characters/iori/ko2.gif", false, 1500);
        animation.addAnimation("KICK", "/characters/iori/kick.gif", false, 800);
        animation.addAnimation("DASH", "/characters/iori/dash.gif", true, 0);
        animation.addAnimation("DOWN", "/characters/iori/down.gif", false, 1500);
        // 初始播放站立动画
        animation.play("IDLE");
    }
}
